package idazkaria;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Color;
import java.awt.Font;
import javax.swing.JTextField;
import javax.swing.JRadioButton;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JTextArea;
import javax.swing.JList;
import javax.swing.JScrollPane;
import javax.swing.JScrollBar;
import javax.swing.JSpinner;
import javax.swing.JFormattedTextField;
import javax.swing.JToggleButton;
import java.awt.TextArea;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class EI_Terapia_baten_informazio_editatu_1_2_3_2 extends JFrame {

	private JPanel contentPane;
	private JTextField izen;
	private JTextField terapeuta;
	private JTextField kodea;
	private JTextField prezioa;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					EI_Terapia_baten_informazio_editatu_1_2_3_2 frame = new EI_Terapia_baten_informazio_editatu_1_2_3_2();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public EI_Terapia_baten_informazio_editatu_1_2_3_2() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 695, 346);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblIdazkariaSortu = new JLabel("TERAPIA BATEN INFORMAZIOA EDITATU:");
		lblIdazkariaSortu.setFont(new Font("Tahoma", Font.BOLD, 14));
		lblIdazkariaSortu.setForeground(Color.BLACK);
		lblIdazkariaSortu.setBounds(10, 11, 344, 14);
		contentPane.add(lblIdazkariaSortu);
		
		izen = new JTextField();
		izen.setBounds(48, 40, 183, 20);
		contentPane.add(izen);
		izen.setColumns(10);
		
		JLabel lblLehenengoAbizena = new JLabel("Terapeuta");
		lblLehenengoAbizena.setBounds(10, 74, 74, 14);
		contentPane.add(lblLehenengoAbizena);
		
		terapeuta = new JTextField();
		terapeuta.setBounds(72, 71, 159, 20);
		contentPane.add(terapeuta);
		terapeuta.setColumns(10);
		
		JLabel lblIzena = new JLabel("Izena");
		lblIzena.setBounds(10, 43, 46, 14);
		contentPane.add(lblIzena);
		
		JLabel lblNana = new JLabel("Kodea");
		lblNana.setBounds(262, 43, 58, 14);
		contentPane.add(lblNana);
		
		kodea = new JTextField();
		kodea.setBounds(323, 40, 92, 20);
		contentPane.add(kodea);
		kodea.setColumns(10);
		
		JButton btnGorde = new JButton("Gorde");
		btnGorde.setBounds(249, 256, 89, 23);
		contentPane.add(btnGorde);
		
		JButton btnAtzera = new JButton("Atzera");
		btnAtzera.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				EI_Terapia_baten_informazioa_editatu_sartu_kodea_1_2_3 bat=new EI_Terapia_baten_informazioa_editatu_sartu_kodea_1_2_3();
				bat.setVisible(true);
				EI_Terapia_baten_informazio_editatu_1_2_3_2.this.setVisible(false);}
			});
		btnAtzera.setBounds(348, 256, 89, 23);
		contentPane.add(btnAtzera);
		
		JLabel lblOrdutegia = new JLabel("Ordutegia");
		lblOrdutegia.setBounds(262, 74, 64, 14);
		contentPane.add(lblOrdutegia);
		
		JList list = new JList();
		list.setBounds(72, 299, -7, -61);
		contentPane.add(list);
		
		TextArea textArea = new TextArea();
		textArea.setText("Idatzi");
		textArea.setBounds(328, 74, 109, 56);
		contentPane.add(textArea);
		
		JLabel lblDeskribapena = new JLabel("Deskribapena");
		lblDeskribapena.setBounds(10, 111, 86, 14);
		contentPane.add(lblDeskribapena);
		
		TextArea textArea_1 = new TextArea();
		textArea_1.setText("Idatzi");
		textArea_1.setBounds(96, 111, 122, 103);
		contentPane.add(textArea_1);
		
		JLabel lblPrezioa = new JLabel("Prezioa");
		lblPrezioa.setBounds(471, 74, 46, 14);
		contentPane.add(lblPrezioa);
		
		prezioa = new JTextField();
		prezioa.setBounds(527, 71, 86, 20);
		contentPane.add(prezioa);
		prezioa.setColumns(10);
		
		JLabel label = new JLabel("\u20AC");
		label.setBounds(623, 74, 46, 14);
		contentPane.add(label);
		
		JLabel label_1 = new JLabel("Adib: 1111");
		label_1.setBounds(425, 43, 94, 14);
		contentPane.add(label_1);
	}
}
